<template>
  <div id="H">
    <ul id="head">
      <li class="one"><img src="homepage/logo-mini.jpg" alt=""></li>
      <li class="two"><img src="homepage/logl.jpg" alt=""></li>
      <li><router-link to="/register">登录</router-link></li>
    </ul>
    <router-link to="/serch" id="int">
     <img src="/fenlei/search-input-icon.png" alt="">
    <input type="text" name=""  placeholder="成分新境" >
    </router-link>
   <div id="serch">
      <router-link to="/serch">搜索</router-link>
    </div>
    
    <div id="classify">  
        <router-link to="/skin">精选</router-link>       
        <router-link to="/skin">护肤</router-link>    
        <router-link to="/cosmetics">彩妆</router-link>    
        <router-link to="/perfume">香水</router-link>    
        <router-link to="/ minority">小众</router-link>  
        <router-link to="/man">男士</router-link>   
        <router-link to="/care">个护</router-link>   
    </div> 
     </div>
</template>

<script>
export default {

}
</script>

<style>
#H{
position: sticky;
top: 0;
z-index: 100;
background-color: white;
}
#head{
  width: 90%;
  height: 0.6rem;
  line-height: 0.6rem;
  margin:auto;
  display: flex;
  justify-content: space-between;
  position: relative;

}
#head .one img{
  width: 0.4rem;
  height: 0.4rem;
  position: absolute;
  left:-0.1rem;
  top: 0.1rem;
}
#head .two img{
  width: 1.4rem;
  height: 0.2rem;
   position: absolute;
  left: 0.9rem;
  top: 0.2rem;
}
#int input{
  width:90%;
  height: 0.35rem;
  color: black;
  margin-left: 5%;
  border: none;
  background-color: #f2f2f2;
  border-radius: 0.05rem;
  text-indent: 0.4rem;
}
#int img{
  width:0.2rem;
  height: 0.2rem;
  position: absolute;
  left: 7%;
  top: 0.67rem;
}
#serch{
  width:0.6rem;
  height: 0.35rem;
  line-height: 0.35rem;
  background-color: black;
   border-radius:0 0.05rem 0.05rem 0;
  position: absolute;
  right:5%;
  top: 0.6rem;
} 
#serch a{
  display: block;
  color: white;
  text-align: center;
}
#classify{
  width: 100%;
  height: 0.6rem;
  line-height: 0.6rem;
  margin-top: 0.1rem;
  display: flex; 
  overflow-y: auto;
}

#classify a{
  flex-shrink:0;
  margin-right:0.16rem;
  margin-left:0.2rem ;
}

</style>
